package org.openslash.resource;

import java.io.BufferedInputStream;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.InputStream;

public class StandardResourcePacket extends ResourcePacket {
	
	public StandardResourcePacket(String resFileName) {
		String path = System.getProperty("user.dir")+resFileName;
		InputStream in;

		try {
			in = new BufferedInputStream(new FileInputStream(path));
			initialize(in);
		} catch (FileNotFoundException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}
